package com.yuhs.zixing.shop.dal.business.user.mapper;

import com.yuhs.zixing.shop.dal.business.user.entity.UserInfoDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @ClassName UserInfoMapper
 * @Description UserInfoMapper
 * @Author yuhs
 * @CreateDate 2021/6/25
 **/
@Mapper
public interface UserInfoMapper {

    /**
     * 保存
     *
     * @param record
     * @return
     */
    int insert(UserInfoDO record);

    /**
     * 根据主键查询用户信息
     *
     * @param pkId
     * @return
     */
    UserInfoDO selectByPrimaryKey(Long pkId);

    /**
     * 根据主键更新
     *
     * @param userInfoDO
     * @return
     */
    int updateUserInfoByPrimaryKey(UserInfoDO userInfoDO);


}
